#ifndef DATABASEMANAGER_H
#define DATABASEMANAGER_H

#include <QObject>
#include <QSqlDatabase>
#include <QString>

class DatabaseManager : public QObject
{
    Q_OBJECT

    QSqlDatabase db;
    QString dbPath;

    void createDB();

    void closeDB();
    void createDownloadsTable();
public:
    explicit DatabaseManager(QObject *parent = 0);
    void openDB();
    
    void fillWithTestData();
signals:
    
public slots:
    
};

#endif // DATABASEMANAGER_H
